//同步修改状态

import CONSTANT from "./constant"

export default {
    [CONSTANT.PLUS](state) {
        state.count++;
    },
    [CONSTANT.MINUS](state) {
        state.count--;
    }
}